wayland: Small improvements to update_direction
authorMatthias Clasen <mclasen@redhat.com>
Wed, 4 May 2016 03:14:05 +0000 (23:14 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 4 May 2016 03:14:05 +0000 (23:14 -0400)
commitadc90b9e9db783f743f35e6fb8b26c1fe6c30eb4
tree40ce142d96dfa9a1d6d67892e4b0f2d37d5f2112
parent09aa48b7485818120a31cac617be62bdeb91a23c
wayland: Small improvements to update_direction

Avoid memory allocation if possible, and use the proper
min/max keycodes.
gdk/wayland/gdkkeys-wayland.c